/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entities;

/**
 *
 * @author Антон
 */
public class LinkPlaylistAndUser extends BaseEntity {
 // TODO Добавить конфиг

    private User user;
    private Playlist playlist;

    public LinkPlaylistAndUser(){
        super();
        user = null;
        playlist = null;
    }
     public LinkPlaylistAndUser(User user, Playlist playlist)
     {
        super("Сущность связь Плейлист и Пользователь");
        this.user = user;
        this.playlist = playlist;
    }

    public User get_user() {
        return user;
    }

    public void set_user(User user) {
        this.user= user;
    }

    public Playlist get_playlist() {
        return playlist;
    }

    public void set_playlist(Playlist playlist) {
        this.playlist = playlist;
    }     
}
